@layout("/backend/common/_container.html"){
<#Hidden id="entityMap" value="${entityMap}"/>
<style>
    .header-tool > .panel-tool {
        overflow: visible;
    }

    table#queryCon td {
        padding-left: 10px
    }

    #queryCon {
        margin-left: -10px;
    }
</style>

<div class="hisui-panel" fit="true" style="padding:10px;border:0px;">
    <div class="hisui-layout" data-options="fit:true">
        <div data-options="region:'west'" style="width:300px;padding:0;border:0px;">
            <!--<div class="hisui-layout" data-options="fit:true">
                <div class="hisui-panel" data-options="region:'center'" style="padding:0 0 10px 0;border:0px;">
                    <div class="hisui-panel" fit='true' title="单病种质控配置"
                         data-options="iconCls:'icon-apply-check',fit:true,headerCls:'panel-header-gray'"
                         style="border-bottom:1px solid #ccc;border-radius:0;">
                        <div style="padding:10px 0 0 10px;">
                            <td style="text-align:right;width:80px">病种名称</td>
                            <td>
                                <input class="hisui-combobox textbox" id="QCDic">
                            </td>
                        </div>
                    </div>
                </div>
                <div data-options="region:'south'" style="height:440px;padding:0;fit:true;border:0px;">
                    <div class="hisui-panel" fit='true' title="质控条目"
                         data-options="iconCls:'icon-apply-check',fit:true,headerCls:'panel-header-gray'"
                         style="border-bottom:1px solid #ccc;border-radius:0;">
                        <div data-options="border:false" id="qCTable"></div>
                    </div>
                </div>
            </div>-->
            <table id="qCTable" data-options="title: '质控条目',fit:true,headerCls:'panel-header-gray',iconCls:'icon-paper',rownumbers:true,autoSizeColumn:false,toolbar:'#standtb'">
            </table>
            <div id="standtb" style="height:50px;padding:3px;">
                <table id="queryCon" style="border-collapse:separate; border-spacing:10px;">
                    <tr>
                        <td class='' for="entityType">病种</td>
                        <td>
                            <input class="hisui-combobox textbox" id="QCDic"/>
                        </td>
                    </tr>
                </table>
            </div>

        </div>
        <div id="workArea" data-options="region:'center'" style="padding:0 0 0 10px;border:0px;">
            <div class="hisui-layout" data-options="fit:true">
                <div class="hisui-panel" data-options="region:'north'" style="height:180px;border:0px;">
                    <div class="hisui-panel" fit='true' title="质控条目维护"
                         data-options="iconCls:'icon-apply-check',fit:true,headerCls:'panel-header-gray'"
                         style="border-bottom:1px solid #ccc;border-radius:0;">
                        <form method='post' id="sdcQcInfoForm" name="sdcQcInfoForm"
                              enctype="multipart/form-data">
                            <table style="border-collapse:separate;border-spacing:5px">
                                <tr>
                                    <input class='textbox' id="qcId" type="hidden">
                                    <td style="text-align:right"><font color='red'>*</font>描述</td>
                                    <td>
                                        <input class='textbox' style="width:250px" id="qcDesc">
                                    </td>
                                    <td style="text-align:right;">触发规则</td>
                                    <td>
                                        <input class='textbox' style="width:200px" id="qcExpression">
                                    </td>
                                    <!--<td style="text-align:right;padding-left: 20px">备注</td>
                                    <td>
                                        <input class='textbox' style="width:290px" id="qcMemo">
                                    </td>-->
                                    <td style="text-align:right;padding-left: 20px">表达式描述</td>
                                    <td>
                                        <input class='textbox' style="width:290px" id="expDescription">
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align:right;">关联诊疗方案</td>
                                    <td>
                                        <select id="linkCdss" style="width:258px;"></select>
                                    </td>
                                    <td style="text-align:right;">文献来源</td>
                                    <td>
                                        <input class='textbox' style="width:200px" id="source">
                                    </td>
                                    <td style="text-align:right;"></td>
                                    <td >
                                        <input type="text" readonly value="触发一次" style="width: 18%;background-color: rgba(0,0,0,0);border-color: transparent;text-align:left" >
                                        <input id="activeOnce" class='hisui-checkbox' type="checkbox"/>
                                        <input type="text" readonly value="是否生效" style="width: 18%;background-color: rgba(0,0,0,0);border-color: transparent;text-align:left" >
                                        <input id="isActive" class='hisui-checkbox' type="checkbox"/>
                                        <input type="text" readonly value="是否弹框显示" style="width: 18%;background-color: rgba(0,0,0,0);border-color: transparent;text-align:left" >
                                        <input id="isBox" class='hisui-checkbox' type="checkbox"/>
                                    </td>


                                    <!--<td colspan="1">
                                        <#Button name="保存" id="btnSave" icon="icon-w-save"
                                        clickFun="obj.edit()"/>
                                    </td>
                                    <td colspan="1">
                                        <#Button name="删除" id="btnSave" icon="icon-w-close"
                                        clickFun="obj.delete()"/>

                                        <#Button name="导入" id="btnImport" icon="icon-w-import"
                                        clickFun="obj.import()"/>
                                    </td>-->
                                </tr>
                                <tr style="height: 50px;">
                                    <td style="text-align:right;">类型</td>
                                    <td>
                                        <input class='textbox' style="width:250px" id="vteType"
                                               placeholder="1 VTE通用方案  其他待扩展">
                                    </td>
                                    <td style="text-align:right">备注</td>
                                    <td colspan="3" rowspan="3">
                                        <textarea id="qcMemo" class="textbox" style="width:98.5%;"></textarea>
                                    </td>
                                    <!--<td colspan="1">
                                        <#Button name="保存" id="btnSave" icon="icon-w-save"
                                        clickFun="SdsQcentityRule.edit()"/>
                                    </td>
                                    <td colspan="1">
                                        <#Button name="导入" id="btnSave" icon="icon-w-import"
                                        clickFun="SdsQcentityRule.import()"/>
                                    </td>-->
                                    <td colspan="1">
                                        <#Button name="保存" id="btnSave" icon="icon-w-save"
                                        clickFun="obj.edit()"/>
                                    </td>
                                    <td colspan="1">
                                        <#Button name="删除" id="btnSave" icon="icon-w-close"
                                        clickFun="obj.delete()"/>

                                        <#Button name="导入" id="btnImport" icon="icon-w-import"
                                        clickFun="obj.import()"/>
                                    </td>
                                </tr>
                            </table>
                        </form>
                    </div>
                </div>
                <div class="hisui-panel" data-options="region:'center'"
                     style="height:210px;border:0px;padding-top:5px;">
                    <div class="hisui-panel" fit='true' title='规则'
                         data-options="iconCls:'icon-apply-check',fit:true,headerCls:'panel-header-gray header-tool',tools:'#custtb'"
                         style="border-bottom:1px solid #ccc;border-radius:0;">
                        <div id="custtb" style="">
                            <div style="height: 25px;margin-top: -8px">
                                <#Button name="全部" icon="icon-all-select" plain="true" clickFun="obj.compareAllRule()"/>
                                <#Button name="关联规则" icon="icon-compare-yes" plain="true"
                                clickFun="obj.compareYesRule()"/>
                                <#Button name="新增" icon="icon-add" plain="true" clickFun="obj.addRule()"/>
                                <#Button name="修改" icon="icon-write-order" plain="true" clickFun="obj.editRule()"/>
                                <#Button name="删除" icon="icon-cancel" plain="true" clickFun="obj.deleteRule()"/>
                                <!--<input class="hisui-searchbox" style="width:180px" id="qCRuleKey"></input>-->
                            </div>
                        </div>
                        <div data-options="border:false" id="qCRule"></div>
                    </div>
                </div>
                <!--<div class="hisui-panel" data-options="region:'south'" style="height:185px;border:0px;padding-top:5px;">
                    <div class="hisui-panel" fit='true' title="规则取值"
                         data-options="iconCls:'icon-apply-check',fit:true,headerCls:'panel-header-gray header-tool',tools:'#custtb2'"
                         style="border-bottom:1px solid #ccc;border-radius:0;">
                        <div id="custtb2" style="" >
                            <div style="height: 25px;margin-top: -8px">
                                <#Button name="全部" icon="icon-all-select" plain="true" clickFun="obj.compareAllRuleSource()"/>
                                <#Button name="关联规则取值" icon="icon-compare-yes" plain="true" clickFun="obj.compareYesRuleSource()"/>
                            <#Button name="新增" icon="icon-add" plain="true" clickFun="obj.addRuleSource()"/>
                            <#Button name="修改" icon="icon-write-order" plain="true" clickFun="obj.editRuleSource()"/>
                            <#Button name="删除" icon="icon-cancel" plain="true" clickFun="obj.deleteRuleSource()"/>
                            <input class="hisui-searchbox" style="width:180px" id="qCRuleSourceKey"></input>
                            </div>
                        </div>
                        <div data-options="border:false" id="qCRuleDataSource"></div>
                    </div>
                </div>-->
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/backend/sdc/sdcqcconfig/sdcqcconfig.js"></script>
@}
